package com.mvw.tetrominoes.data {
	
	/**
	 * An abstract representation of Cluster direction using specific String values.
	 */
	public class ClusterDirection {
		
		private var _direction:String;
			
		public static const LEFT:ClusterDirection = new ClusterDirection("urn:tetrominoes:direction:left");
		public static const RIGHT:ClusterDirection = new ClusterDirection("urn:tetrominoes:direction:right");
		
		/**
		 * The constructor defines direction as a String.
		 * 
		 * @param type A String representation of direction.
		 */
		public function ClusterDirection(direction:String):void {
			_direction = direction;
		}
		
		/**
		 * Returns a String representation of ClusterDirection.
		 * 
		 * @return A String representation of ClusterDirection.
		 */
		public function toString():String {
			return _direction;
		}

	}
}